package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.CashRecordMapper;
import com.rongke.model.CashRecord;

import com.rongke.service.CashRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @CashRecordServiceImpl
 * @用户商家现金流水ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class CashRecordServiceImpl extends ServiceImpl<CashRecordMapper, CashRecord> implements CashRecordService {
    @Autowired
    private CashRecordMapper cashRecordMapper;
    public BigDecimal inquiryorder(Map map){
        return cashRecordMapper.inquiryorder(map);
    }


    public List<CashRecord> selectusermoliy(Map map){
        return cashRecordMapper.selectusermoliy(map);
    }

    public Integer selectusermoliyCount(Map map){
        return cashRecordMapper.selectusermoliyCount(map);
    }



    public BigDecimal totalAssetschongzhi(Map map){
        return cashRecordMapper.totalAssetschongzhi(map);
    }


    public Integer withdrawalssuccess(){
        return cashRecordMapper.withdrawalssuccess();
    }


    public Integer Today(){
        return cashRecordMapper.Today();
    }

    public  List<CashRecord> selectEntryandexit(Map map){
        return cashRecordMapper.selectEntryandexit(map);
    }


    public  Integer selectEntryandexitCount(Map map){
        return cashRecordMapper.selectEntryandexitCount(map);
    }

}
